login(data){
        return http('POST','/api/login/login',data)
    },
code(data){
        return http('POST','/api/login/code',data)
    },
change(data){
        return http('POST','/api/login/change',data)
    },
careLsit(data){
        return http('POST','/api/user/careLsit',data)
    },
care(data){
        return http('POST','/api/user/care',data)
    },
info(data){
        return http('POST','/api/user/info',data)
    },
post(data){
        return http('POST','/api/post/post',data)
    },
detail(data){
        return http('POST','/api/post/detail',data)
    },
like(data){
        return http('POST','/api/post/like',data)
    },
list(data){
        return http('POST','/api/chat/list',data)
    },
upload(data){
        return http('POST','/api/file/upload',data)
    },

async dologin(data){
         res = await this.service.login();
         this.list = res.data;
    },
async docode(data){
         res = await this.service.code();
         this.list = res.data;
    },
async dochange(data){
         res = await this.service.change();
         this.list = res.data;
    },
async docareLsit(data){
         res = await this.service.careLsit();
         this.list = res.data;
    },
async docare(data){
         res = await this.service.care();
         this.list = res.data;
    },
async doinfo(data){
         res = await this.service.info();
         this.list = res.data;
    },
async dopost(data){
         res = await this.service.post();
         this.list = res.data;
    },
async dodetail(data){
         res = await this.service.detail();
         this.list = res.data;
    },
async dolike(data){
         res = await this.service.like();
         this.list = res.data;
    },
async dolist(data){
         res = await this.service.list();
         this.list = res.data;
    },
async doupload(data){
         res = await this.service.upload();
         this.list = res.data;
    },

'/api/login/login':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/login/code':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/login/change':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/user/careLsit':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/user/care':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/user/info':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/post/post':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/post/detail':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/post/like':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/chat/list':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
'/api/file/upload':{
		"code": 0,
	    "data": Mock.mock({ 
		
	    })	
	},
